package com.arpa.wms.controller.wms;
/*

import com.arpa.core.web.Result;
import com.arpa.ntocc.common.security.annotation.NeedLogin;
import com.arpa.wms.mq.domin.MsgLog;
import com.arpa.wms.mq.domin.MsgLogDTO;
import com.arpa.wms.mq.service.MsgLogService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.*;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;


*/
/**
 * <p>
 * 任务中心 task
 * </p>
 *
 * @author LEO
 * @since 2020-10-09
 *//*

@Api(tags = "消息日志")
@RestController
@RequestMapping(value = "/msgLog", produces = "application/json;charset=UTF-8")
@Log4j2
public class MsgLogController {

    @Resource
    private MsgLogService msgLogService;

    */
/**
     * 消息日志列表接口
     *
     * @param msgLogDTO
     * @param request
     * @return
     *//*

    @ApiOperation(value = "消息日志列表", notes = "消息日志列表")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "Authorization", value = "授权token", required = true, paramType = "header", dataType = "String", defaultValue = "Bearer "),
            @ApiImplicitParam(name = "gmtCreatedStart", value = "创建日期起", paramType = "query", dataType = "string", defaultValue = ""),
            @ApiImplicitParam(name = "gmtCreatedEnd", value = "创建日期止", paramType = "query", dataType = "string", defaultValue = ""),
    })
    @ApiResponses(@ApiResponse(code = 0, message = "success", response = MsgLog.class))
    @NeedLogin
    @GetMapping()
    public Result list(MsgLogDTO msgLogDTO, HttpServletRequest request) {
        IPage<MsgLog> returnPage =new Page<>(msgLogDTO.getPageNum(),msgLogDTO.getPageSize());
        IPage<MsgLog> msgLogs = msgLogService.page(returnPage);
        return Result.ok().data(msgLogs);
    }
}
*/
